package com.fc.push.db;

import com.fc.persistence.core.ITranscation;
import com.fc.persistence.core.TranscationImpl;
import com.fc.push.App;

public class TranscationFacade {
	
	private static ITranscation transcation = null;
	
	private TranscationFacade(){
		transcation = (ITranscation) App.getBean(TranscationImpl.class);
	}
	
	private static class Instance{
		private static TranscationFacade transcationFacade = new TranscationFacade();
	}
	
	public static TranscationFacade getInstance(){
		return Instance.transcationFacade;
	}
	
	public ITranscation transcation(){
		return transcation;
	}
	
}
